package com.tensquare.search;

import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.context.annotation.Bean;

//启动类
@SpringBootApplication
public class RecruitApplication {

    public static void main(String[]args){
        SpringApplication.run(RecruitApplication,args);
    }
    @Bean
    public IdWorker idWorker(){
        return new IdWorker(1,1);
    }
}
